package com.clinic.doctor.controller;

import com.clinic.api.doctor.DoctorControllerApi;
import com.clinic.framework.common.request.DoctorQueryRequest;
import com.clinic.framework.common.request.DoctorQueryRequest;
import com.clinic.framework.common.response.QueryList;
import com.clinic.framework.common.response.ResponseResult;
import com.clinic.framework.common.response.ResponseValue;
import com.clinic.framework.domain.base.Doctor;
import com.clinic.framework.domain.base.Doctor;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/doctor")
public class DoctorController implements DoctorControllerApi {
    @PostMapping("/add")
    public ResponseResult addDoctor(@RequestBody Doctor Doctor) {
        return null;
    }

    @Override
    @PostMapping("/edit")
    public ResponseResult editDoctor(@RequestBody Doctor Doctor) {
        return null;
    }

    @Override
    @DeleteMapping("/del/{id}")
    public ResponseResult delDoctor(@PathVariable("id") String id) {
        return null;
    }

    @Override
    @GetMapping("/list/{page}/{size}")
    public QueryList<Doctor> findDoctorList(@PathVariable("page") String page, @PathVariable("size") String size, DoctorQueryRequest dqr) {
        return null;
    }

    @GetMapping("/get/{id}")
    public ResponseValue<Doctor> findDoctorById(@PathVariable("id") String id) {
        return null;
    }
}
